﻿/*
	Theme Name: Elmax	
	Theme URI: http://justfreethemes.com/elmax-free-wordpress-theme
	Author: JustFreeThemes.com 
	Author URI: http://justfreethemes.com-container
	Version: 1.5
*/

/* Reset and Normalize 
-------------------------------------------------------------- */
::-moz-selection {
 color:#fff;
 background:#0EAB45;
}
::selection { color: #fff; background: #0EAB45; }
* { border: 0; margin: 0; outline: 0; padding: 0; vertical-align: baseline; }
html { font-size: 62.5%; overflow-y: scroll; -ms-text-size-adjust: 100%; }
h1, h2, h3, h4, h5, h6 { font-size:16px; color: #2b2b2b }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
a:hover, a:active { outline: 0; }
a img { border: 0; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; }
.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 2px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar */ }
/* Global 

---------------------------------------------*/

body { background-color: #f8f8f8; font: normal 14px/1.5 '微软雅黑'; color: #3a3a3a; }
hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1em; }
pre { background-color: #f5f5f5; border-left: 3px solid #0EAB45; font-family: "Microsoft Yahei", Arial; font-size: 12px; line-height: 1.5; margin: 10px auto; padding: 10px; max-width: 100% }
table { margin: 0 0 1em; width: 100%; border: 1px solid #ddd !important; border-collapse: collapse; }
th { font-weight: normal; background: #eee; text-align: left; font-weight: bold; color: #000; }
td, th { padding: 3px 5px; border: 1px solid #ddd !important; font-size: 12px; }
.clear { clear: both; float: none; }
/* Forms and buttons 

-----------------------------------------*/

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle;
}
button, input { line-height: normal; *overflow: visible;
}
/* Media 

-----------------------------------------*/

embed, iframe, object { max-width: 100%; }
#branding img, #main img, img[class*="align"], img[class*="wp-image-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
#branding img, #main img, img.size-full { max-width: 100%; width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ }
/* Forms and Buttons 

----------------------------------------------*/

button, html input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ padding: 0; /* Addresses excess padding in IE8/9 */ }
input[type="search"] { -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ box-sizing: content-box; }
 input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
 -webkit-appearance: none;
}
 button::-moz-focus-inner, input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
 border: 0;
 padding: 0;
}
textarea { overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ vertical-align: top; /* Improves readability and alignment in all browsers */ }
select { width: 100%; }
/* Image Alignment

----------------------------------------------*/

.alignleft { display: inline; float: left; margin: 0 0.625em 0.625em 0; }
.alignright { display: inline; float: right; margin: 0 0 0.625em 0.625em; }
.aligncenter { clear: both; display: block; margin: 0 auto 0.625em; }
.wp-caption { background: #fff; border: 1px solid #f9f9f9; margin-bottom: 0.625em; max-width: 100%; padding: 0.25em; }
.wp-caption img { display: block; margin: 1.2% auto 0; max-width: 98%; }
.wp-caption-text { color: #aaa; font-size: 13px; font-size: 1.3rem; text-align: center; }
.wp-caption .wp-caption-text { margin: 0.8075em 0; }
/* General Styles 

----------------------------------------------*/

/* let's clear some floats */

.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
a { color: #0EAB45; cursor: pointer; text-decoration: none; -o-transition: .2s; -ms-transition: .2s; -moz-transition: .2s; -webkit-transition: .2s; transition: .2s; }
a:hover, a:focus, a:active { color: #098434; }
p { margin: 0; margin-bottom: 1em; word-wrap: break-word; }
h1 { font-size: 30px; font-size: 3.0rem; line-height: 1.75em; margin: 0 0 0.625em; }
h1.post-title { margin: 0 0 0.1em; line-height: 1.25em; font-weight:normal; }
h1.page-title { margin: 0 0 0.2em; line-height: 1.25em; }
h2.entry-title, h2.entry-title a { font-size: 3rem;line-height: 3rem; margin-bottom: 0.1em !important; margin-top: 0 !important; font-weight:normal; }
h2.entry-title a:hover { color: #098434; }
blockquote { color: #555; font-size: 15px; font-size: 1.5rem; font-style: italic; font-family: Georgia, Times, 'Times New Roman', serif; line-height: 2.525em; margin: 0.925em 0; padding: 0.925em 0; }
blockquote:before { color: #7d7373; content: "\f10d"; font-family: FontAwesome; font-size: 25px; position: absolute; }
blockquote p { position: relative !important; margin: 23px 0 0 37px !important; font-size: 22px; font-size: 2.2rem; }
blockquote p cite { text-transform: uppercase; font-size: 18px; font-size: 1.8rem; display: block; font-size: 11px; }
/* Main Layout

 * The main container here is set to 1000px

 * If you choose to set this to a different size, make sure you update the

 * media query so that when you are at this breakpoint the container is set to 100%.

-----------------------------------------------------------------------------------*/

#top-wrap { margin: 0; padding: 0; width: 100%; background: #222; }
#top-inner { margin: 0 auto; padding: 0; width: 1100px; }
#branding { float: none; height: auto; position: relative; width: 100%; }
#branding img { height: auto; margin-bottom: -7px; width: 100%; }
#logo {  float: left; background-image: url(../images/logo.png);
    width: 135px;
    height: 46px;
    background-size: contain;
        margin-top: 5px;
    background-repeat: no-repeat; }
#tagline { display: none; }
/* Social Media icons

 * These are positioned absolutely right now. If you move them

 * to the sidebar or footer, just get rid of that. 

------------------------------------------------------ */

@-webkit-keyframes shine {
    from {background-position: 100%;}
    to {background-position: 0;}
}
@-moz-keyframes shine {
    from {background-position: 100%;}
    to {background-position: 0;}
}

.social-media { list-style: none; position: absolute; top: 10px; right: 10px; }
.social-media li { float: left; padding: 0 5px; position: relative; }
.social-media a { display: block; height: 24px; width: 24px; }
/* Primary Navigation

-------------------------------------------------------------- */

.main-navigation { background: #222; display: block; float: right; margin: 0 auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation li { float: left; position: relative; }
.main-navigation a { font-family: Helvetica; color: #fff; display: block; font-size: 16px; font-size: 1.6rem; font-weight: normal; line-height: 2.5em; padding: 0.5em 1.25em; text-decoration: none; }
.main-navigation ul ul { -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; float: left; margin: 0; position: absolute; left: 0; width: 188px; z-index: 99999; }
.main-navigation ul ul ul { left: 100%; top: 0; }
.main-navigation ul ul a { background: #3a3a3a; color: #fff; height: auto; line-height: 1.4em; padding: 10px; width: 168px; }
.main-navigation li:hover > a, .main-navigation ul ul :hover > a, .main-navigation a:focus { color: #fff;background: #0EAB45; }
.main-navigation ul li:hover > ul { display: block; }
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a { background: #0EAB45; }
/* Small menu */

.menu-toggle { display: none; cursor: pointer; }
.main-small-navigation > ul { display: none; }
#wrap { margin: 0 auto; padding: 0; width: 1100px; }
/* Main Body Content Area 

-----------------------------------------------------------*/

#main { float: left; width: 100%; }
#content { float: left; width: 775px; padding: 2em 0; line-height: 1.7em; }
/* Main body blog content formatting

--------------------------------------------------------------*/

.hentry { padding: 30px 20px 20px; background: #fff; box-shadow: 0 0 5px #ccc; margin-bottom: 1.5em; position: relative; overflow: hidden; }
.home p { margin: 0; }
.hentry ul, .hentry ol { margin: 0 1.25em 0.3125em; padding: 0 1.25em 0.3125em; }
.home .sticky-post { background: #0EAB45; color: #fff; padding: 1px 10px; position: absolute; right: 0; border-radius: 4px; font-size: 13px; top: 5px; }
.paged .sticky-post { display: none !important; }
.entrymeta { color: #999; padding:3px 0 5px; }
.entrymeta p { font-size: 13px; font-size: 1.3rem; line-height: 1.125em; /* 18px / 16px */ margin:0; }
.entrymeta span { margin: 0px 20px 0 2px; text-transform: capitalize; line-height: 2em; }
.entrymeta a { color: #999; }
.entrymeta a:hover { color: #098434; }
span.read-more { clear: both; display: block; text-align: right; }
span.read-more a { display: inline-block; font-size: 14px; padding: 3px 10px; margin: 20px 0 0; }
.p-tags { margin: 20px 0; clear: both; }
.p-tags a { display: inline-block; background: #0EAB45; padding: 2px 10px; color: #fff; margin: 0 10px 0 0; font-size: 13px; }
.p-tags a:hover { background: #098434; }
.nav-previous { float: left; text-align: left; width: 50%; color: #0EAB45; }
.nav-next { float: right; text-align: right; width: 50%; color: #0EAB45; }
.post-thumb { margin: 0 0 20px; }
.post-thumb a img:hover { opacity: 0.8; }
.post-navigation{ text-align:center;}
.post-navigation ul li a, .post-navigation ul li span { width: 100px;
    height: 53px;
    line-height: 53px;
    text-align: center;
    background: #0EAB45;
    color: #fff;
    display:inline-block;
    border-radius: 5px;
}
.post-navigation li{ display:inline-block;margin-right:10px;}
.post-navigation ul li a:hover { background: #098434; color: #fff; }
.post-navigation ul { clear: both; list-style: none; margin: 0; padding: 0; }
.post-navigation ul li span.current { background: #098434; color: #fff; }

/* Sidebar Area 

-------------------------------------------*/

#sidebar { float: right; width: 300px; padding: 2em 0; }
.widget { margin-bottom: 1.5em; background: #fff; box-shadow: 0 0 5px #ccc; }
.widget ul { padding: 10px 15px 15px; margin: 0; }
#sidebar h4 { border-bottom: 1px solid #ddd; background: #f5f5f5; font-size: 16px; font-size: 1.6rem; margin: 0; padding: 10px 15px; letter-spacing: 0.07em; text-transform: uppercase; }
#sidebar ul { list-style: none; margin-left: 0; }
#sidebar ul li { padding: 0.5em 0; font-size: 14px; font-size: 1.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sidebar a { color: #4d4d4d; text-decoration: none; }
#sidebar a:hover { color: #0EAB45; }
#sidebar .tagcloud a { display: inline-block; padding: 5px 10px; margin: 0 5px 5px 0; }
.widget_search label { display: none; }
#wp-calendar caption { text-align: center; margin-bottom: 10px; }
/* Footer area

------------------------------------------------------------*/

footer { clear: both; margin: 0 auto; line-height: 30px; width: 100%; background: #222; color: #999;border-top: 1px solid #303030; }
footer div { font-size: 14px; font-size: 1.4rem; margin: 0;width:1100px; margin: 0 auto;}
footer span { padding: 0 5px; }
footer a { color: #fff }
/* Comments

----------------------------------------------- */

.avatar { display: block; float: left; padding: 0 1em 0.625em 0; }
#commentlist { padding: 1.25em 0; }
.commentmetadata { margin-top: 0; font-size: 13px; }
.commentmetadata a { color: #888; }
span.says { display: none; }
cite.fn { text-transform: capitalize; font-weight: bold; font-size: 15px; margin: 0 0 5px; display: block; padding: 20px 0 0; }
ol#commentlist, ol#commentlist li { list-style: none; margin: 0; padding: 0; }
ol#commentlist li { font-size: 14px; font-size: 1.4rem; line-height: 1.25em; margin-bottom: 1.5em; border-bottom: dotted 1px #d4d4d4; }
ol#commentlist ul li, ol#commentlist ol li { border: none; }
ol#commentlist ul li { list-style: disc; }
ol#commentlist ol li { list-style: decimal; }
ol#commentlist ul.children { margin: 0.625em 0.625em 0 1.25em; padding: 0; }
ol#commentlist ul.children li { border: none; border-top: 1px solid #eee; list-style: none; }
ol#commentlist li p { padding: 0; margin: 1em 0 0; font-size: 14px; display: block; line-height: 1.8em; clear: both; }
.commentform { padding: 1.25em 0; }
.commentform p { margin-bottom: 0.625em; }
.comment-body { clear: both; overflow: hidden; padding-bottom: 1em; }
#commentlist .reply { clear: both; }
#commentlist .reply a { background: #0EAB45; color: #fff; padding: 5px 10px; display: block; float: right; }
#respond p { padding: 0 !important; }
#commentform p { margin-bottom: 1em; }
#commentform label { display: inline-block; width: 5em; }
#commentform input { margin: 5px 0 0; }
span.required { color: #EE5D5D; }
#commentform textarea { margin: 5px 0 !important; width: 500px; }
#commentform .submit { margin-left: 5em; }
.comment-respond, ol#commentlist { padding: 2em; background: #fff; box-shadow: 0 0 5px #ccc; margin-bottom: 1.5em; }
.form-allowed-tags { display: none; }
/* Forms and buttons

 --------------------------------*/

button, html input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #0EAB45; border-radius: 2px; background: #0EAB45; color: #fff; cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ font-size: 15px; font-size: 1.5rem; line-height: 1; padding: 0.5em 1em; text-transform: uppercase; }
button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, html input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { border-color: #066; background: #066; }
input[type=password], input[type=text], textarea { color: #666; border: 1px solid #ddd; border-radius: 2px; }
input[type=text]:focus, textarea:focus { color: #111; }
input[type=password], input[type=text] { padding: 5px 3px; margin-left: 5px; }
textarea { padding-left: 3px; width: 98%; }
/* Search Form

-------------------------------------------*/

#searchform { display: inline-block; position: relative; width: 100%; }
#searchform #searchsubmit { border-radius: 0px; float: left; font-size: 14px; font-size: 1.4rem; line-height: 1.1; padding: 0.625em; vertical-align: middle; }
#searchform input#s { border-radius: 0px; float: left; font-size: 13px; font-size: 1.3rem; margin: 0; padding: 3.5%; width: 92%; }
 @media screen and (max-width: 1100px) {
#top-inner, #wrap { width: 960px; }
#content { width: 635px; }
#sidebar { width: 300px; }
}
 @media screen and (max-width: 768px) {
#top-wrap, #top-inner, #wrap { width: 100%; }
#content, #sidebar { float: none; padding: 2em 0; width:100%; margin: 0 auto; }
.main-navigation ul { display: none; }
.menu-toggle { display: block; }
.site-header .menu-toggle { background: #3a3a3a; color: white; font-family: 'Muli', sans-serif; font-size: 15px; font-size: 1.5rem; padding: 15px 22px; margin: 0; }
.site-header .menu-toggle:hover { background: #0EAB45; }
.site-header .menu-toggle:before { content: '\2261'; font-size: 14px; font-size: 1.4rem; margin-right: 10px; }
.main-small-navigation ul, .main-small-navigation ul ul { display: block; }
.main-small-navigation ul { margin: 0; list-style: none; }
.main-small-navigation a { display: block; color: white; padding: 10px 40px; text-decoration: none; }
.main-small-navigation li { background: #3a3a3a; }
.main-small-navigation li:hover { background: #0EAB45; }
.main-small-navigation ul ul a { padding-left: 60px; }
.main-small-navigation ul ul ul a { padding-left: 80px; }
}
/*回顶部*/
.backtop {padding: 5px; text-align: center; background: #0EAB45; color: #fff; position: fixed; right: 10px; bottom: 10px; cursor: pointer; display: none; /*动态背景 -webkit-animation: hue 5s infinite linear; animation: hue 2s infinite linear;*/ }
.backtop:hover { background: #098434; }
 /*@-webkit-keyframes hue { from {
 -webkit-filter: hue-rotate(0deg);
}
to { -webkit-filter: hue-rotate(-360deg); }
}
 @-moz-keyframes hue { from {
 filter: hue-rotate(0deg);
}
to { filter: hue-rotate(-360deg); }
}*/



.fa-2 {
  font-size: 2em;
}
.fa-3 {
  font-size: 4em;
}
.fa-4 {
  font-size: 7em;
}
.fa-5 {
  font-size: 12em;
}
.fa-6 {
  font-size: 20em;
}